package com.dindang.ddm.app;

import com.longxi.gamer_base.model.User;

/**
 * @创建者 CSDN_LQR
 * @描述 全局常量类
 */
public class AppConst {

    public static final String REGION = "86";

    public static String identification = "";//极光id

    public static String repairuserid = "";
    public static String repairusername = "";

    public static String ERROR_TITLE="网络连接异常";
    public static String ERROR_CONTEXT="请检查网络后重试";
    public static String ERROR_BUTTON="重试";

    public static String EMPTY_TITLE="没有找到数据";
    public static String EMPTY_CONTEXT="下拉刷新试试";

    //intent 传值的key
    public static String TITLE = "TITLE";

    /*================== 广播Action begin ==================*/
    public static final String PATROL_MESSAGE_RECEIVER = "action.PatrolMessageReceiver";//刷新巡检上传数量广播
    public static final String CONNECTIVITY_CHANGE = "android.net.conn.CONNECTIVITY_CHANGE";//网络切换
    public static final String MESSAGE_RECEIVED_ACTION = "com.longxi.wuyeyun.broadcast.MESSAGE_RECEIVED_ACTION";
    public static final String MESSAGE_REGISTRATION_ID = "com.longxi.wuyeyun.broadcast.MESSAGE_REGISTRATION_ID";
    public static final String REFRESH_HOME_FRAGMENT = "action.PatrolMessageReceiver";
    /*================== 广播Action end ==================*/

    /*================== Intent key begin ==================*/
    //用户登录
    public static final String KEY_ACCOUNT_INFO = "KEY_ACCOUNT_INFO";
    public static final String KEY_MESSAGE = "message";
    public static final String KEY_EXTRAS = "extras";

    //通用key
    public static final String BILLID = "BILLID";//单据id
    public static final String STATE = "STATE";//状态
    public static final String ISSCAN = "ISSCAN";//通过扫码过来

    public static final String BUILDID = "BUILDID";//建筑id
    public static final String BUILD = "BUILD";//建筑名称

    public static String TYPID = "TYPID";//类别
    public static String NAME = "NAME";//名称

    //OA办公
    public static final String TYPENAME = "TYPENAME";//oa办公名称
    public static final String TYPE = "TYPE";//id

    //报修
    public static final String REPAIRAREA = "REPAIRAREA";//客户区域0 公共区域1
    public static final String REGIONID = "REGIONID";//小区id
    public static final String REGIONNAME = "REGIONNAME";//忘记了

    //任务
    public static final String TASK = "TASK";//任务内容

    //投诉处理详情
    public static final String COMPLAINT = "COMPLAINT";//完成内容

    //巡检状态
    public static final String ISDRAFT = "ISDRAFT";//状态

    //建筑名称
    public static final String BUILDNAME = "BUILDNAME";//单据Activity之间传值key

    //整改列表 好像
    public static final String RECTIFICATIONLIST = "RECTIFICATIONLIST";

    //访客登记
    public static final String VISITOR = "VISITOR";//访客登记详情

    //物品放行
    public static final String GOODSTRAFFIC = "GOODSTRAFFIC";//物品放行详情

    //保养
    public static String MAINTAIN = "MAINTAIN";

    //抄表
    public static String METERTYPE = "METERTYPE";//单据Activity之间传值key
    public static String METERSCATEGORY = "METERSCATEGORY";//单据Activity之间传值key

    //品质检查
    public static String CLASSNAME = "CLASSNAME";//
    public static String CLASSID = "CLASSID";//
    public static String QUALITYITEM = "QUALITYITEM";//项目xx

    //人员选择
    public static String DEPTID = "DEPTID";//部门内部编码
    public static String MULTI_SELECTION = "MULTI_SELECTION";//是否可多选
    public static String PERSONNEL_LISTINTENT = "PERSONNEL_LISTINTENT";//人员列表数据

    //自定义输入
    public static String ENTER_EDITTEXT = "ENTER_EDITTEXT";
    public static String ENTER_STATE_LIST = "ENTER_STATE_LIST";
    public static String ENTER_PICTURES = "ENTER_PICTURES";

    public static String ENTEREDITTEXT = "ENTEREDITTEXT";
    public static String SELECTSTATE = "SELECTSTATE";
    public static String SELECTPIC = "SELECTPIC";

    //到期期间
    public static String DUE_TO = "DUE_TO";
    public static String DUE_RECEIVED = "DUE_RECEIVED";

    public static String KEYWORD = "KEYWORD";

    /*================== Intent key end ==================*/

    public interface IntentRequstCode{
        int BASE=10000;
        // 登录
        int ACTIVITY_LOGIN = BASE+1;
        // 流程详情？？？
        int ACTIVITY_MaintainDetails = BASE+2;

        // 扫码
        int REQUEST_CODE_SCAN = BASE+110;

        // 极光推送
        int JPUSH_INTERFACE_SEQUENCE = BASE+111;

    }
}
